
//
//  NavViewController.m
//  小豌旅行
//
//  Created by wyzcWLB on 16/9/27.
//  Copyright © 2016年 wyzcWLB. All rights reserved.
//

#import "NavViewController.h"

@interface NavViewController ()

@end

@implementation NavViewController
#pragma mark 加载所有类时调用
+(void)load{
    //统一设置导航条外观
    UINavigationBar *NavBar = [UINavigationBar appearanceWhenContainedInInstancesOfClasses:@[self]];
    [NavBar setBackgroundImage:[UIImage imageNamed:@"topnav"] forBarMetrics:UIBarMetricsDefault];//注意现在只用默认类型
    
//    NSMutableDictionary *AttrM = [NSMutableDictionary dictionary];
//    AttrM[NSFontAttributeName] = [UIFont systemFontOfSize:38];
//    
//    [NavBar setTitleTextAttributes:AttrM];

}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
